package mapper;

import pojo.Menu;

import java.util.List;

public interface MenuMapper {
    int deleteByPrimaryKey(Byte menuId);

    int insert(Menu record);

    int insertSelective(Menu record);

    Menu selectByPrimaryKey(Byte menuId);

    int updateByPrimaryKeySelective(Menu record);

    int updateByPrimaryKey(Menu record);

    List<Menu> selectByPrimaryKeySelective(Menu record);

    List<Menu> selectByUserRoleId(Integer userRoleId);
}